package com.sport.members.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sport.common.annotation.Excel;
import com.sport.common.core.domain.BaseEntity;

/**
 * 会员管理对象 sport_members
 * 
 * @author ruoyi
 * @date 2024-09-07
 */
public class SportMembers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员ID */
    private Long id;

    /** 会员姓名 */
    @Excel(name = "会员姓名")
    private String name;

    /** 会员类型 */
    @Excel(name = "会员类型")
    private String membershipType;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String coursesName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMembershipType(String membershipType) 
    {
        this.membershipType = membershipType;
    }

    public String getMembershipType() 
    {
        return membershipType;
    }
    public void setCoursesName(String coursesName) 
    {
        this.coursesName = coursesName;
    }

    public String getCoursesName() 
    {
        return coursesName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("membershipType", getMembershipType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("coursesName", getCoursesName())
            .toString();
    }
}
